Install the Unity Editor for QNX

You can install and set up the Unity Editor for QNX on the following platforms:

System requirements

The system requirements for the Unity Editor, Player, and Server are the same as outlined in the Unity Core Manual.

Install Unity for QNX

Follow the steps described below to set up the Unity Editor to run on devices that use QNX.

Prerequisites

  • You must have installed the QNX Software Center.
  • Before starting the Unity Editor, make sure the QNX SDP Environment is set up correctly for the Editor to pick it up.

Linux installation

  1. Unpack Unity.xz to install Unity setup for QNX to a folder of your choice.

    • Unpack UnitySetup-QNX-Support-for-Editor.xz to install Unity Editor for QNX to the same folder.
  2. Open a shell terminal and run: source path/qnxsdp-env.sh to set up the variables and start the Editor from there.

  3. Alternatively, you can set the environment variables QNX_TARGET and QNX_HOST either in the current shell terminal or set them globally, and then start the Editor.

  4. Add the following environment variables:

  5. QNX_TARGET=/path/to/target/qnx7

  6. QNX_HOST=/path/to/host/platform/arch

  7. For QNX 7.0 only:

  8. MAKEFLAGS=-I$QNX_TARGET/usr/include

  9. For QNX 7.1 only:

  10. Add to PATH: $QNX_HOST/usr/bin

Mac installation

  1. ​Double-click Unity.pkg to install it in a folder of your choice, followed by installing UnitySetup-QNX-Support-for-Editor.pkg in the same folder.

  2. Open a shell terminal and run: source path/qnxsdp-env.sh to set the environment variables in the local shell and start the editor from there.

  3. Alternatively, you can set the environment variables QNX_TARGET and QNX_HOST either locally in a terminal or globally, and then run the editor.

    Add the following environment variables:

    QNX_TARGET=/path/to/target/qnx7

    QNX_HOST=/path/to/host/platform/arch

    For QNX 7.0 only:

    MAKEFLAGS=-I$QNX_TARGET/usr/include

    For QNX 7.1 only:

    Add to PATH: $QNX_HOST/usr/bin

Windows installation

  1. Double-click UnitySetup64-QNX.exe to install Unity setup for QNX to your preferred location. Also, install UnitySetup-QNX-Support-for-Editor.exe in the same folder.
  2. Open a command prompt and run the qnxsdp-env.bat file to set the variables in the local shell terminal, and start the Editor from there.
  3. Alternatively, set the environment variables QNX_TARGET and QNX_HOST either locally in the current command prompt or set them globally, and then start the Editor.
  4. Add the following environment variables:
  5. QNX_TARGET=/path/to/target/qnx7
  6. QNX_HOST=/path/to/host/platform/arch
  7. For QNX 7.0 only:
  8. MAKEFLAGS=-I$QNX_TARGET/usr/include
  9. For QNX 7.1 only:
  10. Add to PATH: $QNX_HOST/usr/bin

Project setup

You don't need to set up the project further. When you’ve created or opened a project, the QNX Platform is available.

Troubleshooting

If you notice one of the below issues in the Build Settings window, then the QNX DSP Environment isn't set up correctly:

  • Unable to find QNX_TARGET in Environment.
  • The build environment does not fit the selected QNX Version.
  • The build environment does not contain the selected QNX Architecture.

Before starting the Editor, always check that you have the QNX DSP Environment set up properly for the Editor to pick it up.

Additional resources